package ch.fusun.baron.basic.client.ui.player;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;

import ch.fusun.baron.player.Player;

/**
 * Shows a dialog with all the {@link Player}s in the game
 */
public class ShowPlayersHandler extends AbstractHandler {

	@Override
	public Object execute(ExecutionEvent event) throws ExecutionException {
		new PersonSelectionDialog().open();
		return null;
	}
}
